import BaseAction from "./BaseAction";


export default class ChangeFace extends BaseAction {



    start(index: number) {
        let mouth = this.player.mouth;
        for (let i = 0; i < mouth.length; i++) {
            const element = mouth[i];
            if (element)
                if (index == i) {
                    element.active = true;
                } else {
                    element.active = false;
                }
        }
    }

}
